Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm - add package.json for kubernetes-topology-graph 0.0.23 #26

Merged
merged 1 commit into from
Nov 16, 2016

Conversation

himdel
Copy link
Contributor

@himdel himdel commented Nov 14, 2016

Hi,
this updates package.json to have enough data to actually create an npm package.

I've already created a kubernetes-topology-graph@0.0.23 npm package from this, feel free to tell me where to and I'll transfer the ownership..

Thanks

@stefwalter stefwalter merged commit ddebea7 into kubernetes-ui:master Nov 16, 2016
@stefwalter
Copy link
Contributor

Thanks merged.

Is there an automatic way to have NPM pick up git tags like bower does?

@himdel himdel deleted the npm branch November 16, 2016 16:30
@himdel
Copy link
Contributor Author

himdel commented Nov 16, 2016

@stefwalter Npm doesn't really use github that way, the process is to update the version field in package.json (or run npm version, similar to bower version to do that), and then to run npm publish (it doesn't have to be on github at that point, it just uploads the current state from your directory to the npm repos).

So.. if you already have a process to do bower, you should run npm version before bower version (because bower creates a commit and tags it, whereas npm doesn't touch git), and npm publish at the same time you run git push --tags..

(You also need to do a npm login the first time, once you do that, you'll have a login name that I can use to make you an owner of the package.)

And thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants